3.5.86 \(\int \frac {(c \sin (a+b x))^m}{\sqrt {d \sec (a+b x)}} \, dx\) [486]

Optimal. Leaf size=77 \[ \frac {\sqrt [4]{\cos ^2(a+b x)} \, _2F_1\left (\frac {1}{4},\frac {1+m}{2};\frac {3+m}{2};\sin ^2(a+b x)\right ) \sqrt {d \sec (a+b x)} (c \sin (a+b x))^{1+m}}{b c d (1+m)} \]

[Out]

(cos(b*x+a)^2)^(1/4)*hypergeom([1/4, 1/2+1/2*m],[3/2+1/2*m],sin(b*x+a)^2)*(c*sin(b*x+a))^(1+m)*(d*sec(b*x+a))^
(1/2)/b/c/d/(1+m)

________________________________________________________________________________________

Rubi [A]
time = 0.07, antiderivative size = 77, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {2666, 2657} \begin {gather*} \frac {\sqrt [4]{\cos ^2(a+b x)} \sqrt {d \sec (a+b x)} (c \sin (a+b x))^{m+1} \, _2F_1\left (\frac {1}{4},\frac {m+1}{2};\frac {m+3}{2};\sin ^2(a+b x)\right )}{b c d (m+1)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(c*Sin[a + b*x])^m/Sqrt[d*Sec[a + b*x]],x]

[Out]

((Cos[a + b*x]^2)^(1/4)*Hypergeometric2F1[1/4, (1 + m)/2, (3 + m)/2, Sin[a + b*x]^2]*Sqrt[d*Sec[a + b*x]]*(c*S
in[a + b*x])^(1 + m))/(b*c*d*(1 + m))

Rule 2657

Int[(cos[(e_.) + (f_.)*(x_)]*(b_.))^(n_)*((a_.)*sin[(e_.) + (f_.)*(x_)])^(m_), x_Symbol] :> Simp[b^(2*IntPart[
(n - 1)/2] + 1)*(b*Cos[e + f*x])^(2*FracPart[(n - 1)/2])*((a*Sin[e + f*x])^(m + 1)/(a*f*(m + 1)*(Cos[e + f*x]^
2)^FracPart[(n - 1)/2]))*Hypergeometric2F1[(1 + m)/2, (1 - n)/2, (3 + m)/2, Sin[e + f*x]^2], x] /; FreeQ[{a, b
, e, f, m, n}, x]

Rule 2666

Int[((b_.)*sec[(e_.) + (f_.)*(x_)])^(n_)*((a_.)*sin[(e_.) + (f_.)*(x_)])^(m_), x_Symbol] :> Dist[(1/b^2)*(b*Co
s[e + f*x])^(n + 1)*(b*Sec[e + f*x])^(n + 1), Int[(a*Sin[e + f*x])^m/(b*Cos[e + f*x])^n, x], x] /; FreeQ[{a, b
, e, f, m, n}, x] &&  !IntegerQ[m] &&  !IntegerQ[n] && LtQ[n, 1]

Rubi steps

\begin {align*} \int \frac {(c \sin (a+b x))^m}{\sqrt {d \sec (a+b x)}} \, dx &=\frac {\left (\sqrt {d \cos (a+b x)} \sqrt {d \sec (a+b x)}\right ) \int \sqrt {d \cos (a+b x)} (c \sin (a+b x))^m \, dx}{d^2}\\ &=\frac {\sqrt [4]{\cos ^2(a+b x)} \, _2F_1\left (\frac {1}{4},\frac {1+m}{2};\frac {3+m}{2};\sin ^2(a+b x)\right ) \sqrt {d \sec (a+b x)} (c \sin (a+b x))^{1+m}}{b c d (1+m)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains higher order function than in optimal. Order 6 vs. order 5 in optimal.
time = 18.67, size = 289, normalized size = 3.75 \begin {gather*} \frac {8 c (3+m) F_1\left (\frac {1+m}{2};-\frac {1}{2},\frac {3}{2}+m;\frac {3+m}{2};\tan ^2\left (\frac {1}{2} (a+b x)\right ),-\tan ^2\left (\frac {1}{2} (a+b x)\right )\right ) \cos ^4\left (\frac {1}{2} (a+b x)\right ) \sin ^2\left (\frac {1}{2} (a+b x)\right ) (c \sin (a+b x))^{-1+m}}{b (1+m) \left (\left ((3+2 m) F_1\left (\frac {3+m}{2};-\frac {1}{2},\frac {5}{2}+m;\frac {5+m}{2};\tan ^2\left (\frac {1}{2} (a+b x)\right ),-\tan ^2\left (\frac {1}{2} (a+b x)\right )\right )+F_1\left (\frac {3+m}{2};\frac {1}{2},\frac {3}{2}+m;\frac {5+m}{2};\tan ^2\left (\frac {1}{2} (a+b x)\right ),-\tan ^2\left (\frac {1}{2} (a+b x)\right )\right )\right ) (-1+\cos (a+b x))+(3+m) F_1\left (\frac {1+m}{2};-\frac {1}{2},\frac {3}{2}+m;\frac {3+m}{2};\tan ^2\left (\frac {1}{2} (a+b x)\right ),-\tan ^2\left (\frac {1}{2} (a+b x)\right )\right ) (1+\cos (a+b x))\right ) \sqrt {d \sec (a+b x)}} \end {gather*}

Warning: Unable to verify antiderivative.

[In]

Integrate[(c*Sin[a + b*x])^m/Sqrt[d*Sec[a + b*x]],x]

[Out]

(8*c*(3 + m)*AppellF1[(1 + m)/2, -1/2, 3/2 + m, (3 + m)/2, Tan[(a + b*x)/2]^2, -Tan[(a + b*x)/2]^2]*Cos[(a + b
*x)/2]^4*Sin[(a + b*x)/2]^2*(c*Sin[a + b*x])^(-1 + m))/(b*(1 + m)*(((3 + 2*m)*AppellF1[(3 + m)/2, -1/2, 5/2 +
m, (5 + m)/2, Tan[(a + b*x)/2]^2, -Tan[(a + b*x)/2]^2] + AppellF1[(3 + m)/2, 1/2, 3/2 + m, (5 + m)/2, Tan[(a +
 b*x)/2]^2, -Tan[(a + b*x)/2]^2])*(-1 + Cos[a + b*x]) + (3 + m)*AppellF1[(1 + m)/2, -1/2, 3/2 + m, (3 + m)/2,
Tan[(a + b*x)/2]^2, -Tan[(a + b*x)/2]^2]*(1 + Cos[a + b*x]))*Sqrt[d*Sec[a + b*x]])

________________________________________________________________________________________

Maple [F]
time = 0.12, size = 0, normalized size = 0.00 \[\int \frac {\left (c \sin \left (b x +a \right )\right )^{m}}{\sqrt {d \sec \left (b x +a \right )}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*sin(b*x+a))^m/(d*sec(b*x+a))^(1/2),x)

[Out]

int((c*sin(b*x+a))^m/(d*sec(b*x+a))^(1/2),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*sin(b*x+a))^m/(d*sec(b*x+a))^(1/2),x, algorithm="maxima")

[Out]

integrate((c*sin(b*x + a))^m/sqrt(d*sec(b*x + a)), x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*sin(b*x+a))^m/(d*sec(b*x+a))^(1/2),x, algorithm="fricas")

[Out]

integral(sqrt(d*sec(b*x + a))*(c*sin(b*x + a))^m/(d*sec(b*x + a)), x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (c \sin {\left (a + b x \right )}\right )^{m}}{\sqrt {d \sec {\left (a + b x \right )}}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*sin(b*x+a))**m/(d*sec(b*x+a))**(1/2),x)

[Out]

Integral((c*sin(a + b*x))**m/sqrt(d*sec(a + b*x)), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*sin(b*x+a))^m/(d*sec(b*x+a))^(1/2),x, algorithm="giac")

[Out]

integrate((c*sin(b*x + a))^m/sqrt(d*sec(b*x + a)), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (c\,\sin \left (a+b\,x\right )\right )}^m}{\sqrt {\frac {d}{\cos \left (a+b\,x\right )}}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*sin(a + b*x))^m/(d/cos(a + b*x))^(1/2),x)

[Out]

int((c*sin(a + b*x))^m/(d/cos(a + b*x))^(1/2), x)

________________________________________________________________________________________